//
//  GHSegmentBtnView.h
//  HaoLyyPro
//
//  Created by 廖光辉 on 26/07/2017.
//  Copyright © 2017 jk. All rights reserved.
//

#import <UIKit/UIKit.h>
/// 标签点击代理
@protocol GHStatusViewDelegate  <NSObject>

/**
 右边标签点击方法代理
 */
- (void)gh_bankStatusRightLabelClickDelegate;

/**
 左边标签点击方法代理
 */
- (void)gh_bankStatusLeftLabelClickDelegate;

@end
@interface GHSegmentBtnView : UIView

/// 左边文字
@property (copy, nonatomic) NSString *leftTitle;
/// 右边文字
@property (copy, nonatomic) NSString *rightTitle;
///是否滑动到了右边
@property (nonatomic,assign) BOOL isScrollToEnd;


/// 标签点击代理
@property (weak, nonatomic) id <GHStatusViewDelegate> delegate;


- (void)changeViewLeft:(CGFloat)left;
@end
